package com.qc.enity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 菜谱表，包含 配方ID、配方顺序、食材ID、菜品ID、食材用量
 */
@Data
@TableName("t_recipe")
public class Recipe implements Serializable {
    @TableId
    private Integer recipeId;
    private Integer recipeNo;
    private Integer ingredientsId;
    private Integer dishId;
    private String ingredientsAmount;
    @TableField(exist = false)
    private String ingredientsName;
}
